package com.woniu.adminservice.dto;

import com.woniu.adminservice.entity.Account;
import com.woniu.adminservice.entity.Roles;
import com.woniu.adminservice.entity.Users;
import com.woniu.adminservice.entity.UsersRole;
import lombok.Data;

import java.util.List;

@Data
public class AdminDTO {
    private Account account;
    private Users users;
    private UsersRole usersRole;
    private  Roles roles;

    public AdminDTO(Account account, Users users,UsersRole usersRole, Roles roles) {
        this.account = account;
        this.users = users;
        this.usersRole = usersRole;
        this.roles = roles;
    }

    public AdminDTO() {
    }
}
